home *** CD-ROM | disk | FTP | other *** search
- /* This file was created automatically by CatComp.
- * Do NOT edit by hand!
- */
-
- #define MSG_NOFILE 1
- #define MSG_NOTKNOWN 2
- #define MSG_EOPENIFF 3
- #define MSG_EALLOCMEM 4
- #define MSG_EPARSEIFF 5
- #define MSG_MIFFILBM 6
- #define MSG_CHKEXIST2 7
- #define MSG_NOSCR 8
- #define MSG_NOPUBSCR 9
- #define MSG_EOPENLIBS 10
-
- #define MSG_NOFILE_STR "Object not found"
- #define MSG_NOTKNOWN_STR "Object is not a IFF ILBM file"
- #define MSG_EOPENIFF_STR "Error OpenIFF()"
- #define MSG_EALLOCMEM_STR "Not enough work space"
- #define MSG_EPARSEIFF_STR "Error ParseIFF()"
- #define MSG_MIFFILBM_STR "Mangled IFF ILBM file"
- #define MSG_CHKEXIST2_STR "Chunk exist two times"
- #define MSG_NOSCR_STR "Screen not available"
- #define MSG_NOPUBSCR_STR "PubScreen not available"
- #define MSG_EOPENLIBS_STR "Open libraries failed"
-
- struct CatCompArrayType
- {
- LONG cca_ID;
- STRPTR cca_Str;
- };
-
- static const struct CatCompArrayType CatCompArray[] =
- {
- {MSG_NOFILE,(STRPTR)MSG_NOFILE_STR},
- {MSG_NOTKNOWN,(STRPTR)MSG_NOTKNOWN_STR},
- {MSG_EOPENIFF,(STRPTR)MSG_EOPENIFF_STR},
- {MSG_EALLOCMEM,(STRPTR)MSG_EALLOCMEM_STR},
- {MSG_EPARSEIFF,(STRPTR)MSG_EPARSEIFF_STR},
- {MSG_MIFFILBM,(STRPTR)MSG_MIFFILBM_STR},
- {MSG_CHKEXIST2,(STRPTR)MSG_CHKEXIST2_STR},
- {MSG_NOSCR,(STRPTR)MSG_NOSCR_STR},
- {MSG_NOPUBSCR,(STRPTR)MSG_NOPUBSCR_STR},
- {MSG_EOPENLIBS,(STRPTR)MSG_EOPENLIBS_STR},
- };
-
- /*
- static const char CatCompBlock[] =
- {
- "\x00\x00\x00\x00\x00\x12"
- MSG_NOFILE_STR "\x00\x00"
- "\x00\x00\x00\x01\x00\x1E"
- MSG_NOTKNOWN_STR "\x00"
- "\x00\x00\x00\x02\x00\x10"
- MSG_EOPENIFF_STR "\x00"
- "\x00\x00\x00\x03\x00\x16"
- MSG_EALLOCMEM_STR "\x00"
- "\x00\x00\x00\x04\x00\x12"
- MSG_EPARSEIFF_STR "\x00\x00"
- "\x00\x00\x00\x05\x00\x16"
- MSG_MIFFILBM_STR "\x00"
- "\x00\x00\x00\x06\x00\x16"
- MSG_CHKEXIST2_STR "\x00"
- "\x00\x00\x00\x07\x00\x16"
- MSG_NOSCR_STR "\x00\x00"
- "\x00\x00\x00\x08\x00\x18"
- MSG_NOPUBSCR_STR "\x00"
- "\x00\x00\x00\x09\x00\x16"
- MSG_EOPENLIBS_STR "\x00"
- };
- */
-
- STRPTR GetString(LONG stringNum)
- {
- register LONG l;
- STRPTR builtIn;
-
- for(l=0;l != stringNum;l++);
- builtIn = CatCompArray[l].cca_Str;
-
- if (LocaleBase)
- return(GetCatalogStr(catalog,stringNum,builtIn));
-
- return(builtIn);
- }
-